<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
		
			function test(){
				var a=b=10;
			}
			test();
			document.write("b=",b,"</br>");
			document.write("a=",a);
			
			
	
	
		</script>
	</body>
</html>
